package com.jk.smartelderlycare.interfaces;

import com.jk.smartelderlycare.dto.SysShipments;
import com.jk.smartelderlycare.dto.SysStore;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author xw
 * @version 1.0
 * @ClassName SysStoreServiceApi
 * @program: smart-elderly-care-demo
 * @description: TODO
 * @date 2024/12/5 14:45
 */
public interface SysStoreServiceApi {
    //分页查询
    @PostMapping(value = "/store/findSysStorePaginationList")
    public PagedResponse<SysStore> findSysStorePaginationList(@RequestBody SysStore sysStore, @RequestParam(value = "pageNum") Integer pageNum, @RequestParam(value = "pageSize") Integer pageSize);

    //查询单个表
    @GetMapping(value = "/store/findStoreList")
    public List<SysStore> findStoreList();

    //新增
    @PostMapping(value = "/store/addStore")
    public void addStore(@RequestBody SysStore sysStore);









}
